<!DOCTYPE html>
<html>
<head>
	<title>修改个人资料</title>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">

	<link rel="stylesheet" type="text/css" href="/css/base.css" charset="UTF-8" />
	<link rel="stylesheet" type="text/css" href="/css/mine.css" />
</head>
<body class="background-white">
	<#assign title="编辑资料">
	<#include "/common/header-user.html">
	
	<form action="/user/save.html" method="POST" class="mine-info">
		<div class="mine-info-item">
			<label>昵&emsp;&emsp;称：</label>
			<input type="text" name="username" value="${(user.username)!""}" />
		</div>
		<div class="mine-info-item">
			<label>手机号码：</label>
			<input type="text" name="mobile" value="${(user.mobile)!""}" />
		</div>
		<div class="mine-info-item">
			<label>真实姓名：</label>
			<input type="text" name="realname" value="${(user.realname)!""}" />
		</div>
		<div class="mine-info-item">
			<label>性&emsp;&emsp;别：</label>
			<div class="radio-group">
				<input type="radio" name="gender" value="1" id="genderMan" <#if ((user.gender)!0) = 1>checked</#if>/><label for="genderMan">男</label>
				<input type="radio" name="gender" value="2" id="genderWoman" <#if ((user.gender)!0) = 2>checked</#if>/><label for="genderWoman">女</label>
				<input type="radio" name="gender" value="3" id="genderNo" <#if ((user.gender)!0) = 3>checked</#if>/><label for="genderNo">保密</label>
			</div>
		</div>
		<div class="mine-info-item">
			<label>出生日期：</label>
			<input type="date" name="birthday" value="<#if user.birthday?exists>${(user.birthday)?string("yyyy-MM-dd")}<#else></#if>" />
		</div>
		<div class="mine-info-item">
			<label>地&emsp;&emsp;址：</label>
			<input type="text" name="address" value="${(user.address)!""}" />
		</div>
		<div class="login-error-msg"></div>
		<input type="submit" class="login-btn yellow-color add_cart" value="提交"></div>
	</form>
	
</body>
</html>
